home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Hourglass / DLL / MkOs
Text File  |  1995-07-08  |  1KB  |  63 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Off    \
  4.             o.On    \
  5.             o.Percentage    \
  6.             o.Smash    \
  7.             o.Start    \
  8.  
  9.  
  10. LibName        =    Hourglass
  11.  
  12.  
  13.  
  14. # Template makefile to make all .o files
  15. # for a DeskLib sublibrary. Compilation 
  16. # is for static linking inside a DLL.
  17.  
  18. # The macro $(ObjectFiles) should be set at the 
  19. # start of this file, to be a space-separated
  20. # list of object files.
  21. # This is done by 'Makatic'.
  22.  
  23. # The macro $(LibName) should also be set at the 
  24. # start of this file, to be the name of the 
  25. # DeskLib sublibrary.
  26.  
  27. # Compiler flags, These can be anything. 
  28. # All essential flags (eg CC -zM
  29. # are included in the macro $(CC).
  30. #
  31. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  32. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  33.  
  34. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  35. ASM        =    ObjAsm $(ASMFlags)
  36.  
  37.  
  38. # -------------------------------------------------------
  39. # Everything below here should probably not be changed...
  40. # -------------------------------------------------------
  41.  
  42. # Here's what we want to make...
  43. #
  44. All:    $(ObjectFiles)
  45.  
  46.  
  47. # Rule for compiling C source code for a Straylight dynamically-linked library.
  48.  
  49. VPATH = @.^
  50.  
  51. .SUFFIXES:    .o .c .s
  52.  
  53. .c.o:
  54.     $(CC) -o $@ $<
  55.  
  56. .s.o:
  57.     $(ASM) $(ASMFlags) -from $< -to $@
  58.  
  59.  
  60.  
  61. # Dynamic dependencies:
  62.